﻿namespace LightPersist
{
	public interface IModelChangingListener
	{
		void OnListRemoved(ILightList lightList, int index, ModelBase itemToRemove);
		void OnListRemoving(ILightList lightList, int index, ModelBase itemToRemove);
		void OnListInserted(ILightList lightList, int index, ModelBase itemToInsert);
		void OnListInserting(ILightList lightList, int index, ModelBase itemToInsert);

		void OnPrimitivePropertyChanged(ModelBase item, string property, object value);
	}
}